<?php
/***************************************************************************
 * 
 * Copyright (c) 2010 , Inc. All Rights Reserved
 * $Id$ 
 * 
 **************************************************************************/
 
 
 
/**
 * @file AllTestSuite.php
 * @author huqingping
 * @date 2010/05/17 18:58:28
 * @version $Revision$ 
 * @brief 
 *  
 **/
error_reporting((E_ALL|E_STRICT)&~E_USER_NOTICE);
$include_path = get_include_path();
$path = explode(':',$include_path);
$path = array_merge(array(dirname(__FILE__)),$path);
set_include_path(implode(':',$path));

require_once 'PHPUnit/Framework.php';
require_once 'PHPUnit/TextUI/TestRunner.php';
require_once 'PHPUnit/Framework/TestCase.php'; 
require_once 'apiproxy/BaseProxy.php';
require_once 'conf/Conf.php';
require_once dirname(__FILE__).'/ApiProxyTest.php';
require_once dirname(__FILE__).'/PHPProxyTest.php';
require_once dirname(__FILE__).'/RpcProxyTest.php';
require_once dirname(__FILE__).'/HttpRpcProxyTest.php';

class AllTestSuite
{
    public static function suite()
    {
        $suite = new PHPUnit_Framework_TestSuite('PHPUnit Framework');

        $suite->addTestSuite('PHPProxyTest');
        $suite->addTestSuite('RpcProxyTest');
        $suite->addTestSuite('HttpRpcProxyTest');
        $suite->addTestSuite('ApiProxyTest');

        return $suite;
    }
}

?>
